﻿CREATE TABLE [dbo].[EventLog] (
    [ID]          BIGINT         IDENTITY (1, 1) NOT NULL,
    [OpenId]      NVARCHAR (50)  NULL,
    [Ip]          VARCHAR (30)   NULL,
    [Controller]  NVARCHAR (50)  NULL,
    [Action]      NVARCHAR (50)  NULL,
    [Result]      NVARCHAR (50)  NULL,
    [Description] NVARCHAR (500) NULL,
    [AddTime]     DATETIME       NULL,
    CONSTRAINT [PK_EventLog] PRIMARY KEY CLUSTERED ([ID] ASC)
);

